<include file="Public/head" />
</head>
<include file="Public/common_header" />
<div class="mian">
    <include file="Public/sidebar" menu='zhgl.xgmm' />
    <div class="mianR">
        <h3 class="cha1">修改密码</h3>
        <div class="pass">
          <ul>
            <form id="fm" >
                <li class="clearfix">
                    <span>原密码</span>
                    <input type="password" name="old_pwd" id="yuanPass" value="" placeholder="请输入原密码">
                    <!--<em>原密码不正确请重新输入</em>-->
                </li>
                <li class="clearfix">
                    <span>新密码</span>
                    <input type="password" name="new_pwd" id="xinPass" value="" placeholder="请输入新密码">
                    <!--<em>密码为6-8位字母或数字</em>-->
                </li>
                <li class="clearfix">
                    <span>确认新密码</span>
                    <input type="password" name="new_pwd2" id="quePass" value="" placeholder="请再次输入新密码">
                    <!--<em>您的密码输入不一致请重新输入</em>-->
                </li>
            </form>
          </ul>
        </div>
        <div class="passBtn">
            <input type="button" value="确定" class="queding">
            <!--<input type="button" onclick="history.go(-1);" class="quxiao" value="取消">-->
        </div>
    </div>
    <div class="clear"></div>
</div>

<script>
    $('.queding').click(function(){            
        var post_data = $("#fm").serialize();
        $.post('/Emp/ci_ch_pwd',post_data,function(res){
            if(res.code!=200){
                shibai_alert(res.msg,800);
                return false;
            }
            btn_alert('修改成功',1000,function(){
                window.location.reload();
            });
        },'json');
    });
    
</script>
<include file="Public/foot" />


